<template>
  <Echart
      :options="options"
      id="centreLeft1Chart"
      height="300px"
      width="500px"
  ></Echart>
</template>
<script>


import Echart from "../../common/echart";
export default {
  name: "BarEchar",
  components: {Echart},
  props: ['title', 'entext'],
  data() {
    return {
      options:''
    }
  },
  mounted() {
    this.init()
  },
  methods: {
    init(){
     this.options = {
       yAxis: {
          type: 'category',
          data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
        },
       xAxis: {
          type: 'value'
        },
        series: [
          {
            data: [120, 200, 150, 80, 70, 110, 130],
            type: 'bar'
          }
        ]
      };
    }
  }
}
</script>
<style lang="scss" scoped>
.f{

}
</style>


